package com.aw.qzblog.service;

import com.aw.qzblog.common.Result;
import com.aw.qzblog.entity.dto.user.UserLoginRequest;
import com.aw.qzblog.entity.dto.user.UserRegisterRequest;
import com.aw.qzblog.entity.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 34889
* @description 针对表【user】的数据库操作Service
* @createDate 2024-06-20 20:39:55
*/
public interface UserService extends IService<User> {

    Result register(UserRegisterRequest userRegisterRequest);

    Result login(UserLoginRequest userLoginRequest);

    Result searchByName(String username);

    Result userPage(int pageNum);

    Result changeStatus(Long userId, Integer statusId);
}
